package org.example.auth.contract.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;


@Getter
@Setter
public class RoleRequestForSave implements Serializable {
    private static final long serialVersionUID = 4844240443922624439L;

    @NotBlank(message = "编码不能为空")
    private String code;

    @NotBlank(message = "名称不能为空")
    private String name;

    private Long parentId;

}
